<?php
App::import('Model', 'Album');
$this->Album = new Album();
$data = $this->Album->latest();
?>

<div class="oneThird widget_recent_entries footerBox widgetBox" id="recent-posts-3">
	<h3>Recent Posts</h3>
	<?php
	if ($data) {
	?>
	<ul>
		<?php
		foreach ($data as $info) {
		?>
		<li><a title="<?php echo $info['Album']['title']; ?>" href="#"><?php echo $info['Album']['title']; ?></a></li>
		<?php
		}
		?>
	</ul>
	<?php
	}?>
</div>	
